<div id="detail" ng-controller="detail">
    <div class="memories">
        <div class="show-area">
            <ul>
                <li ng-repeat="item in list">
                    <div class="upload-photo">+添加图片</div>
                    <div class="set-photo">
                        <a class="share-photo" type="button">分享</a>
                        <a class="revise-photo" type="button">修改</a>
                        <a class="del-photo" ng-click="del()" type="button">删除</a>
                    </div>
                    <input type="text" ng-model="inputText" placeholder="照片描述"/>
                </li>
            </ul>
        </div>
        <div class="page-bar">
            <a href="/detail/1"><span class="first-page">首页</span></a>
            <a href="/detail/{{currentPage-1 || 1}}"><span class="first-page">上一页</span></a>
            <a href="/detail/{{page}}" ng-repeat="page in pageList"><span class="index">{{page}}</span></a>
            <a href="/detail/{{currentPage == countPage ? countPage : currentPage+1}}"><span class="last-page">下一页</span></a>
            <a href="/detail/{{countPage}}"><span class="last-page">尾页</span></a>
        </div>
    </div>
</div>